package com.foreknow.dao;

import com.foreknow.entity.Herbaltempdetailed;

public interface HerbaltempdetailedMapper {
    /**
     * 根据id删除
     * @param id
     * @return
     */
    int deleteByPrimaryKey(Integer id);
    /**
     * 添加
     * @param record
     * @return
     */
    int insert(Herbaltempdetailed record);

    /**
     * 根据id查询
     * @param id
     * @return
     */
    Herbaltempdetailed selectByPrimaryKey(Integer id);
    /**
     * 根据record更新
     * @param record
     * @return
     */
    int updateByPrimaryKeySelective(Herbaltempdetailed record);
    /**
     * 根据record更新
     * @param record
     * @return
     */
    int updateByPrimaryKey(Herbaltempdetailed record);
}